using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Web.Script.Serialization;
using System.Xml.Serialization;
using XCode;
using XCode.Configuration;
using XCode.DataAccessLayer;

namespace Kinlo.Entitys
{
    /// <summary>短路测试仪</summary>
    [Serializable]
    [DataObject]
    [Description("短路测试仪")]
    [BindTable("ShortCircuitTesterData", Description = "短路测试仪", ConnName = "MySql", DbType = DatabaseType.None)]
    public partial class ShortCircuitTesterData
    {
        #region 属性
        private Int64 _Id;
        /// <summary>雪花ID</summary>
        [DisplayName("雪花ID")]
        [Description("雪花ID")]
        [DataObjectField(true, false, false, 0)]
        [BindColumn("Id", "雪花ID", "")]
        public Int64 Id { get => _Id; set { if (OnPropertyChanging("Id", value)) { _Id = value; OnPropertyChanged("Id"); } } }

        private DateTime _AcquisitionTime;
        /// <summary>数据获取时间</summary>
        [DisplayName("数据获取时间")]
        [Description("数据获取时间")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("Acquisition_Time", "数据获取时间", "")]
        public DateTime AcquisitionTime { get => _AcquisitionTime; set { if (OnPropertyChanging("AcquisitionTime", value)) { _AcquisitionTime = value; OnPropertyChanged("AcquisitionTime"); } } }

        private String _Operator;
        /// <summary>工号(操作员)</summary>
        [DisplayName("工号")]
        [Description("工号(操作员)")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Operator", "工号(操作员)", "")]
        public String Operator { get => _Operator; set { if (OnPropertyChanging("Operator", value)) { _Operator = value; OnPropertyChanged("Operator"); } } }

        private String _EquipmentCode;
        /// <summary>设备编码</summary>
        [DisplayName("设备编码")]
        [Description("设备编码")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("EquipmentCode", "设备编码", "")]
        public String EquipmentCode { get => _EquipmentCode; set { if (OnPropertyChanging("EquipmentCode", value)) { _EquipmentCode = value; OnPropertyChanged("EquipmentCode"); } } }

        private String _EquipmentStatus;
        /// <summary>设备状态</summary>
        [DisplayName("设备状态")]
        [Description("设备状态")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("EquipmentStatus", "设备状态", "")]
        public String EquipmentStatus { get => _EquipmentStatus; set { if (OnPropertyChanging("EquipmentStatus", value)) { _EquipmentStatus = value; OnPropertyChanged("EquipmentStatus"); } } }

        private String _Team;
        /// <summary>班组</summary>
        [DisplayName("班组")]
        [Description("班组")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Team", "班组", "")]
        public String Team { get => _Team; set { if (OnPropertyChanging("Team", value)) { _Team = value; OnPropertyChanged("Team"); } } }

        private String _Shift;
        /// <summary>班次</summary>
        [DisplayName("班次")]
        [Description("班次")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Shift", "班次", "")]
        public String Shift { get => _Shift; set { if (OnPropertyChanging("Shift", value)) { _Shift = value; OnPropertyChanged("Shift"); } } }

        private String _WorkOrderNo;
        /// <summary>工单号</summary>
        [DisplayName("工单号")]
        [Description("工单号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("WorkOrderNo", "工单号", "")]
        public String WorkOrderNo { get => _WorkOrderNo; set { if (OnPropertyChanging("WorkOrderNo", value)) { _WorkOrderNo = value; OnPropertyChanged("WorkOrderNo"); } } }

        private String _ProcessId;
        /// <summary>工序编码</summary>
        [DisplayName("工序编码")]
        [Description("工序编码")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("process_id", "工序编码", "")]
        public String ProcessId { get => _ProcessId; set { if (OnPropertyChanging("ProcessId", value)) { _ProcessId = value; OnPropertyChanged("ProcessId"); } } }

        private String _MaterialCode;
        /// <summary>料号</summary>
        [DisplayName("料号")]
        [Description("料号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Material_Code", "料号", "")]
        public String MaterialCode { get => _MaterialCode; set { if (OnPropertyChanging("MaterialCode", value)) { _MaterialCode = value; OnPropertyChanged("MaterialCode"); } } }

        private String _PcNo;
        /// <summary>订单批号</summary>
        [DisplayName("订单批号")]
        [Description("订单批号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("PC_No", "订单批号", "")]
        public String PcNo { get => _PcNo; set { if (OnPropertyChanging("PcNo", value)) { _PcNo = value; OnPropertyChanged("PcNo"); } } }

        private String _WorkorderstatusName;
        /// <summary>工单状态</summary>
        [DisplayName("工单状态")]
        [Description("工单状态")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("WorkOrderStatus_Name", "工单状态", "")]
        public String WorkorderstatusName { get => _WorkorderstatusName; set { if (OnPropertyChanging("WorkorderstatusName", value)) { _WorkorderstatusName = value; OnPropertyChanged("WorkorderstatusName"); } } }

        private String _PlanedStart;
        /// <summary>计划开始时间</summary>
        [DisplayName("计划开始时间")]
        [Description("计划开始时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PlanedStart", "计划开始时间", "")]
        public String PlanedStart { get => _PlanedStart; set { if (OnPropertyChanging("PlanedStart", value)) { _PlanedStart = value; OnPropertyChanged("PlanedStart"); } } }

        private String _PlanedEndDate;
        /// <summary>计划结束时间</summary>
        [DisplayName("计划结束时间")]
        [Description("计划结束时间")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PlanedEndDate", "计划结束时间", "")]
        public String PlanedEndDate { get => _PlanedEndDate; set { if (OnPropertyChanging("PlanedEndDate", value)) { _PlanedEndDate = value; OnPropertyChanged("PlanedEndDate"); } } }

        private String _ProductionOrderNO;
        /// <summary>订单号</summary>
        [DisplayName("订单号")]
        [Description("订单号")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("ProductionOrderNO", "订单号", "")]
        public String ProductionOrderNO { get => _ProductionOrderNO; set { if (OnPropertyChanging("ProductionOrderNO", value)) { _ProductionOrderNO = value; OnPropertyChanged("ProductionOrderNO"); } } }

        private String _PutIntoNumber;
        /// <summary>投入数</summary>
        [DisplayName("投入数")]
        [Description("投入数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("PutIntoNumber", "投入数", "")]
        public String PutIntoNumber { get => _PutIntoNumber; set { if (OnPropertyChanging("PutIntoNumber", value)) { _PutIntoNumber = value; OnPropertyChanged("PutIntoNumber"); } } }

        private String _QualifiedNumber;
        /// <summary>合格数</summary>
        [DisplayName("合格数")]
        [Description("合格数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("QualifiedNumber", "合格数", "")]
        public String QualifiedNumber { get => _QualifiedNumber; set { if (OnPropertyChanging("QualifiedNumber", value)) { _QualifiedNumber = value; OnPropertyChanged("QualifiedNumber"); } } }

        private String _UnqualifiedNumber;
        /// <summary>不合格数量</summary>
        [DisplayName("不合格数量")]
        [Description("不合格数量")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("UnqualifiedNumber", "不合格数量", "")]
        public String UnqualifiedNumber { get => _UnqualifiedNumber; set { if (OnPropertyChanging("UnqualifiedNumber", value)) { _UnqualifiedNumber = value; OnPropertyChanged("UnqualifiedNumber"); } } }

        private String _GuncaoParameters20;
        /// <summary>短路测试仪1电阻值</summary>
        [DisplayName("短路测试仪1电阻值")]
        [Description("短路测试仪1电阻值")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters20", "短路测试仪1电阻值", "")]
        public String GuncaoParameters20 { get => _GuncaoParameters20; set { if (OnPropertyChanging("GuncaoParameters20", value)) { _GuncaoParameters20 = value; OnPropertyChanged("GuncaoParameters20"); } } }

        private String _GuncaoParameters21;
        /// <summary>短路测试仪1电压</summary>
        [DisplayName("短路测试仪1电压")]
        [Description("短路测试仪1电压")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters21", "短路测试仪1电压", "")]
        public String GuncaoParameters21 { get => _GuncaoParameters21; set { if (OnPropertyChanging("GuncaoParameters21", value)) { _GuncaoParameters21 = value; OnPropertyChanged("GuncaoParameters21"); } } }

        private String _GuncaoParameters22;
        /// <summary>短路测试仪1电流</summary>
        [DisplayName("短路测试仪1电流")]
        [Description("短路测试仪1电流")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters22", "短路测试仪1电流", "")]
        public String GuncaoParameters22 { get => _GuncaoParameters22; set { if (OnPropertyChanging("GuncaoParameters22", value)) { _GuncaoParameters22 = value; OnPropertyChanged("GuncaoParameters22"); } } }

        private DateTime _GuncaoParameters23;
        /// <summary>短路测试仪1测试时间</summary>
        [DisplayName("短路测试仪1测试时间")]
        [Description("短路测试仪1测试时间")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("GunCao_Parameters23", "短路测试仪1测试时间", "")]
        public DateTime GuncaoParameters23 { get => _GuncaoParameters23; set { if (OnPropertyChanging("GuncaoParameters23", value)) { _GuncaoParameters23 = value; OnPropertyChanged("GuncaoParameters23"); } } }

        private String _GuncaoParameters24;
        /// <summary>短路测试仪1电流</summary>
        [DisplayName("短路测试仪1电流")]
        [Description("短路测试仪1电流")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters24", "短路测试仪1电流", "")]
        public String GuncaoParameters24 { get => _GuncaoParameters24; set { if (OnPropertyChanging("GuncaoParameters24", value)) { _GuncaoParameters24 = value; OnPropertyChanged("GuncaoParameters24"); } } }

        private String _GuncaoParameters25;
        /// <summary>短路测试仪1电压</summary>
        [DisplayName("短路测试仪1电压")]
        [Description("短路测试仪1电压")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters25", "短路测试仪1电压", "")]
        public String GuncaoParameters25 { get => _GuncaoParameters25; set { if (OnPropertyChanging("GuncaoParameters25", value)) { _GuncaoParameters25 = value; OnPropertyChanged("GuncaoParameters25"); } } }

        private String _GuncaoParameters26;
        /// <summary>短路测试仪2电阻值</summary>
        [DisplayName("短路测试仪2电阻值")]
        [Description("短路测试仪2电阻值")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters26", "短路测试仪2电阻值", "")]
        public String GuncaoParameters26 { get => _GuncaoParameters26; set { if (OnPropertyChanging("GuncaoParameters26", value)) { _GuncaoParameters26 = value; OnPropertyChanged("GuncaoParameters26"); } } }

        private String _GuncaoParameters27;
        /// <summary>短路测试仪2电压</summary>
        [DisplayName("短路测试仪2电压")]
        [Description("短路测试仪2电压")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters27", "短路测试仪2电压", "")]
        public String GuncaoParameters27 { get => _GuncaoParameters27; set { if (OnPropertyChanging("GuncaoParameters27", value)) { _GuncaoParameters27 = value; OnPropertyChanged("GuncaoParameters27"); } } }

        private String _GuncaoParameters28;
        /// <summary>短路测试仪2电流</summary>
        [DisplayName("短路测试仪2电流")]
        [Description("短路测试仪2电流")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters28", "短路测试仪2电流", "")]
        public String GuncaoParameters28 { get => _GuncaoParameters28; set { if (OnPropertyChanging("GuncaoParameters28", value)) { _GuncaoParameters28 = value; OnPropertyChanged("GuncaoParameters28"); } } }

        private DateTime _GuncaoParameters29;
        /// <summary>短路测试仪2测试时间</summary>
        [DisplayName("短路测试仪2测试时间")]
        [Description("短路测试仪2测试时间")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("GunCao_Parameters29", "短路测试仪2测试时间", "")]
        public DateTime GuncaoParameters29 { get => _GuncaoParameters29; set { if (OnPropertyChanging("GuncaoParameters29", value)) { _GuncaoParameters29 = value; OnPropertyChanged("GuncaoParameters29"); } } }

        private String _GuncaoParameters30;
        /// <summary>短路测试仪2电流</summary>
        [DisplayName("短路测试仪2电流")]
        [Description("短路测试仪2电流")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters30", "短路测试仪2电流", "")]
        public String GuncaoParameters30 { get => _GuncaoParameters30; set { if (OnPropertyChanging("GuncaoParameters30", value)) { _GuncaoParameters30 = value; OnPropertyChanged("GuncaoParameters30"); } } }

        private String _GuncaoParameters31;
        /// <summary>短路测试仪2电压</summary>
        [DisplayName("短路测试仪2电压")]
        [Description("短路测试仪2电压")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("GunCao_Parameters31", "短路测试仪2电压", "")]
        public String GuncaoParameters31 { get => _GuncaoParameters31; set { if (OnPropertyChanging("GuncaoParameters31", value)) { _GuncaoParameters31 = value; OnPropertyChanged("GuncaoParameters31"); } } }

        private String _Ng1;
        /// <summary>测短路工位1NG计数</summary>
        [DisplayName("测短路工位1NG计数")]
        [Description("测短路工位1NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng1", "测短路工位1NG计数", "")]
        public String Ng1 { get => _Ng1; set { if (OnPropertyChanging("Ng1", value)) { _Ng1 = value; OnPropertyChanged("Ng1"); } } }

        private String _Ng2;
        /// <summary>测短路工位2NG计数</summary>
        [DisplayName("测短路工位2NG计数")]
        [Description("测短路工位2NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng2", "测短路工位2NG计数", "")]
        public String Ng2 { get => _Ng2; set { if (OnPropertyChanging("Ng2", value)) { _Ng2 = value; OnPropertyChanged("Ng2"); } } }

        private String _Ng3;
        /// <summary>测短路工位3NG计数</summary>
        [DisplayName("测短路工位3NG计数")]
        [Description("测短路工位3NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng3", "测短路工位3NG计数", "")]
        public String Ng3 { get => _Ng3; set { if (OnPropertyChanging("Ng3", value)) { _Ng3 = value; OnPropertyChanged("Ng3"); } } }

        private String _Ng4;
        /// <summary>测短路工位4NG计数</summary>
        [DisplayName("测短路工位4NG计数")]
        [Description("测短路工位4NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng4", "测短路工位4NG计数", "")]
        public String Ng4 { get => _Ng4; set { if (OnPropertyChanging("Ng4", value)) { _Ng4 = value; OnPropertyChanged("Ng4"); } } }

        private String _Ng5;
        /// <summary>测短路工位5NG计数</summary>
        [DisplayName("测短路工位5NG计数")]
        [Description("测短路工位5NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng5", "测短路工位5NG计数", "")]
        public String Ng5 { get => _Ng5; set { if (OnPropertyChanging("Ng5", value)) { _Ng5 = value; OnPropertyChanged("Ng5"); } } }

        private String _Ng6;
        /// <summary>测短路工位6NG计数</summary>
        [DisplayName("测短路工位6NG计数")]
        [Description("测短路工位6NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng6", "测短路工位6NG计数", "")]
        public String Ng6 { get => _Ng6; set { if (OnPropertyChanging("Ng6", value)) { _Ng6 = value; OnPropertyChanged("Ng6"); } } }

        private String _Ng7;
        /// <summary>测短路工位7NG计数</summary>
        [DisplayName("测短路工位7NG计数")]
        [Description("测短路工位7NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng7", "测短路工位7NG计数", "")]
        public String Ng7 { get => _Ng7; set { if (OnPropertyChanging("Ng7", value)) { _Ng7 = value; OnPropertyChanged("Ng7"); } } }

        private String _Ng8;
        /// <summary>测短路工位8NG计数</summary>
        [DisplayName("测短路工位8NG计数")]
        [Description("测短路工位8NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng8", "测短路工位8NG计数", "")]
        public String Ng8 { get => _Ng8; set { if (OnPropertyChanging("Ng8", value)) { _Ng8 = value; OnPropertyChanged("Ng8"); } } }

        private String _Ng9;
        /// <summary>测短路工位9NG计数</summary>
        [DisplayName("测短路工位9NG计数")]
        [Description("测短路工位9NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng9", "测短路工位9NG计数", "")]
        public String Ng9 { get => _Ng9; set { if (OnPropertyChanging("Ng9", value)) { _Ng9 = value; OnPropertyChanged("Ng9"); } } }

        private String _Ng10;
        /// <summary>测短路工位10NG计数</summary>
        [DisplayName("测短路工位10NG计数")]
        [Description("测短路工位10NG计数")]
        [DataObjectField(false, false, true, 64)]
        [BindColumn("Ng10", "测短路工位10NG计数", "")]
        public String Ng10 { get => _Ng10; set { if (OnPropertyChanging("Ng10", value)) { _Ng10 = value; OnPropertyChanged("Ng10"); } } }
        #endregion

        #region 获取/设置 字段值
        /// <summary>获取/设置 字段值</summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        public override Object this[String name]
        {
            get
            {
                switch (name)
                {
                    case "Id": return _Id;
                    case "AcquisitionTime": return _AcquisitionTime;
                    case "Operator": return _Operator;
                    case "EquipmentCode": return _EquipmentCode;
                    case "EquipmentStatus": return _EquipmentStatus;
                    case "Team": return _Team;
                    case "Shift": return _Shift;
                    case "WorkOrderNo": return _WorkOrderNo;
                    case "ProcessId": return _ProcessId;
                    case "MaterialCode": return _MaterialCode;
                    case "PcNo": return _PcNo;
                    case "WorkorderstatusName": return _WorkorderstatusName;
                    case "PlanedStart": return _PlanedStart;
                    case "PlanedEndDate": return _PlanedEndDate;
                    case "ProductionOrderNO": return _ProductionOrderNO;
                    case "PutIntoNumber": return _PutIntoNumber;
                    case "QualifiedNumber": return _QualifiedNumber;
                    case "UnqualifiedNumber": return _UnqualifiedNumber;
                    case "GuncaoParameters20": return _GuncaoParameters20;
                    case "GuncaoParameters21": return _GuncaoParameters21;
                    case "GuncaoParameters22": return _GuncaoParameters22;
                    case "GuncaoParameters23": return _GuncaoParameters23;
                    case "GuncaoParameters24": return _GuncaoParameters24;
                    case "GuncaoParameters25": return _GuncaoParameters25;
                    case "GuncaoParameters26": return _GuncaoParameters26;
                    case "GuncaoParameters27": return _GuncaoParameters27;
                    case "GuncaoParameters28": return _GuncaoParameters28;
                    case "GuncaoParameters29": return _GuncaoParameters29;
                    case "GuncaoParameters30": return _GuncaoParameters30;
                    case "GuncaoParameters31": return _GuncaoParameters31;
                    case "Ng1": return _Ng1;
                    case "Ng2": return _Ng2;
                    case "Ng3": return _Ng3;
                    case "Ng4": return _Ng4;
                    case "Ng5": return _Ng5;
                    case "Ng6": return _Ng6;
                    case "Ng7": return _Ng7;
                    case "Ng8": return _Ng8;
                    case "Ng9": return _Ng9;
                    case "Ng10": return _Ng10;
                    default: return base[name];
                }
            }
            set
            {
                switch (name)
                {
                    case "Id": _Id = value.ToLong(); break;
                    case "AcquisitionTime": _AcquisitionTime = value.ToDateTime(); break;
                    case "Operator": _Operator = Convert.ToString(value); break;
                    case "EquipmentCode": _EquipmentCode = Convert.ToString(value); break;
                    case "EquipmentStatus": _EquipmentStatus = Convert.ToString(value); break;
                    case "Team": _Team = Convert.ToString(value); break;
                    case "Shift": _Shift = Convert.ToString(value); break;
                    case "WorkOrderNo": _WorkOrderNo = Convert.ToString(value); break;
                    case "ProcessId": _ProcessId = Convert.ToString(value); break;
                    case "MaterialCode": _MaterialCode = Convert.ToString(value); break;
                    case "PcNo": _PcNo = Convert.ToString(value); break;
                    case "WorkorderstatusName": _WorkorderstatusName = Convert.ToString(value); break;
                    case "PlanedStart": _PlanedStart = Convert.ToString(value); break;
                    case "PlanedEndDate": _PlanedEndDate = Convert.ToString(value); break;
                    case "ProductionOrderNO": _ProductionOrderNO = Convert.ToString(value); break;
                    case "PutIntoNumber": _PutIntoNumber = Convert.ToString(value); break;
                    case "QualifiedNumber": _QualifiedNumber = Convert.ToString(value); break;
                    case "UnqualifiedNumber": _UnqualifiedNumber = Convert.ToString(value); break;
                    case "GuncaoParameters20": _GuncaoParameters20 = Convert.ToString(value); break;
                    case "GuncaoParameters21": _GuncaoParameters21 = Convert.ToString(value); break;
                    case "GuncaoParameters22": _GuncaoParameters22 = Convert.ToString(value); break;
                    case "GuncaoParameters23": _GuncaoParameters23 = value.ToDateTime(); break;
                    case "GuncaoParameters24": _GuncaoParameters24 = Convert.ToString(value); break;
                    case "GuncaoParameters25": _GuncaoParameters25 = Convert.ToString(value); break;
                    case "GuncaoParameters26": _GuncaoParameters26 = Convert.ToString(value); break;
                    case "GuncaoParameters27": _GuncaoParameters27 = Convert.ToString(value); break;
                    case "GuncaoParameters28": _GuncaoParameters28 = Convert.ToString(value); break;
                    case "GuncaoParameters29": _GuncaoParameters29 = value.ToDateTime(); break;
                    case "GuncaoParameters30": _GuncaoParameters30 = Convert.ToString(value); break;
                    case "GuncaoParameters31": _GuncaoParameters31 = Convert.ToString(value); break;
                    case "Ng1": _Ng1 = Convert.ToString(value); break;
                    case "Ng2": _Ng2 = Convert.ToString(value); break;
                    case "Ng3": _Ng3 = Convert.ToString(value); break;
                    case "Ng4": _Ng4 = Convert.ToString(value); break;
                    case "Ng5": _Ng5 = Convert.ToString(value); break;
                    case "Ng6": _Ng6 = Convert.ToString(value); break;
                    case "Ng7": _Ng7 = Convert.ToString(value); break;
                    case "Ng8": _Ng8 = Convert.ToString(value); break;
                    case "Ng9": _Ng9 = Convert.ToString(value); break;
                    case "Ng10": _Ng10 = Convert.ToString(value); break;
                    default: base[name] = value; break;
                }
            }
        }
        #endregion

        #region 字段名
        /// <summary>取得短路测试仪字段信息的快捷方式</summary>
        public partial class _
        {
            /// <summary>雪花ID</summary>
            public static readonly Field Id = FindByName("Id");

            /// <summary>数据获取时间</summary>
            public static readonly Field AcquisitionTime = FindByName("AcquisitionTime");

            /// <summary>工号(操作员)</summary>
            public static readonly Field Operator = FindByName("Operator");

            /// <summary>设备编码</summary>
            public static readonly Field EquipmentCode = FindByName("EquipmentCode");

            /// <summary>设备状态</summary>
            public static readonly Field EquipmentStatus = FindByName("EquipmentStatus");

            /// <summary>班组</summary>
            public static readonly Field Team = FindByName("Team");

            /// <summary>班次</summary>
            public static readonly Field Shift = FindByName("Shift");

            /// <summary>工单号</summary>
            public static readonly Field WorkOrderNo = FindByName("WorkOrderNo");

            /// <summary>工序编码</summary>
            public static readonly Field ProcessId = FindByName("ProcessId");

            /// <summary>料号</summary>
            public static readonly Field MaterialCode = FindByName("MaterialCode");

            /// <summary>订单批号</summary>
            public static readonly Field PcNo = FindByName("PcNo");

            /// <summary>工单状态</summary>
            public static readonly Field WorkorderstatusName = FindByName("WorkorderstatusName");

            /// <summary>计划开始时间</summary>
            public static readonly Field PlanedStart = FindByName("PlanedStart");

            /// <summary>计划结束时间</summary>
            public static readonly Field PlanedEndDate = FindByName("PlanedEndDate");

            /// <summary>订单号</summary>
            public static readonly Field ProductionOrderNO = FindByName("ProductionOrderNO");

            /// <summary>投入数</summary>
            public static readonly Field PutIntoNumber = FindByName("PutIntoNumber");

            /// <summary>合格数</summary>
            public static readonly Field QualifiedNumber = FindByName("QualifiedNumber");

            /// <summary>不合格数量</summary>
            public static readonly Field UnqualifiedNumber = FindByName("UnqualifiedNumber");

            /// <summary>短路测试仪1电阻值</summary>
            public static readonly Field GuncaoParameters20 = FindByName("GuncaoParameters20");

            /// <summary>短路测试仪1电压</summary>
            public static readonly Field GuncaoParameters21 = FindByName("GuncaoParameters21");

            /// <summary>短路测试仪1电流</summary>
            public static readonly Field GuncaoParameters22 = FindByName("GuncaoParameters22");

            /// <summary>短路测试仪1测试时间</summary>
            public static readonly Field GuncaoParameters23 = FindByName("GuncaoParameters23");

            /// <summary>短路测试仪1电流</summary>
            public static readonly Field GuncaoParameters24 = FindByName("GuncaoParameters24");

            /// <summary>短路测试仪1电压</summary>
            public static readonly Field GuncaoParameters25 = FindByName("GuncaoParameters25");

            /// <summary>短路测试仪2电阻值</summary>
            public static readonly Field GuncaoParameters26 = FindByName("GuncaoParameters26");

            /// <summary>短路测试仪2电压</summary>
            public static readonly Field GuncaoParameters27 = FindByName("GuncaoParameters27");

            /// <summary>短路测试仪2电流</summary>
            public static readonly Field GuncaoParameters28 = FindByName("GuncaoParameters28");

            /// <summary>短路测试仪2测试时间</summary>
            public static readonly Field GuncaoParameters29 = FindByName("GuncaoParameters29");

            /// <summary>短路测试仪2电流</summary>
            public static readonly Field GuncaoParameters30 = FindByName("GuncaoParameters30");

            /// <summary>短路测试仪2电压</summary>
            public static readonly Field GuncaoParameters31 = FindByName("GuncaoParameters31");

            /// <summary>测短路工位1NG计数</summary>
            public static readonly Field Ng1 = FindByName("Ng1");

            /// <summary>测短路工位2NG计数</summary>
            public static readonly Field Ng2 = FindByName("Ng2");

            /// <summary>测短路工位3NG计数</summary>
            public static readonly Field Ng3 = FindByName("Ng3");

            /// <summary>测短路工位4NG计数</summary>
            public static readonly Field Ng4 = FindByName("Ng4");

            /// <summary>测短路工位5NG计数</summary>
            public static readonly Field Ng5 = FindByName("Ng5");

            /// <summary>测短路工位6NG计数</summary>
            public static readonly Field Ng6 = FindByName("Ng6");

            /// <summary>测短路工位7NG计数</summary>
            public static readonly Field Ng7 = FindByName("Ng7");

            /// <summary>测短路工位8NG计数</summary>
            public static readonly Field Ng8 = FindByName("Ng8");

            /// <summary>测短路工位9NG计数</summary>
            public static readonly Field Ng9 = FindByName("Ng9");

            /// <summary>测短路工位10NG计数</summary>
            public static readonly Field Ng10 = FindByName("Ng10");

            static Field FindByName(String name) => Meta.Table.FindByName(name);
        }

        /// <summary>取得短路测试仪字段名称的快捷方式</summary>
        public partial class __
        {
            /// <summary>雪花ID</summary>
            public const String Id = "Id";

            /// <summary>数据获取时间</summary>
            public const String AcquisitionTime = "AcquisitionTime";

            /// <summary>工号(操作员)</summary>
            public const String Operator = "Operator";

            /// <summary>设备编码</summary>
            public const String EquipmentCode = "EquipmentCode";

            /// <summary>设备状态</summary>
            public const String EquipmentStatus = "EquipmentStatus";

            /// <summary>班组</summary>
            public const String Team = "Team";

            /// <summary>班次</summary>
            public const String Shift = "Shift";

            /// <summary>工单号</summary>
            public const String WorkOrderNo = "WorkOrderNo";

            /// <summary>工序编码</summary>
            public const String ProcessId = "ProcessId";

            /// <summary>料号</summary>
            public const String MaterialCode = "MaterialCode";

            /// <summary>订单批号</summary>
            public const String PcNo = "PcNo";

            /// <summary>工单状态</summary>
            public const String WorkorderstatusName = "WorkorderstatusName";

            /// <summary>计划开始时间</summary>
            public const String PlanedStart = "PlanedStart";

            /// <summary>计划结束时间</summary>
            public const String PlanedEndDate = "PlanedEndDate";

            /// <summary>订单号</summary>
            public const String ProductionOrderNO = "ProductionOrderNO";

            /// <summary>投入数</summary>
            public const String PutIntoNumber = "PutIntoNumber";

            /// <summary>合格数</summary>
            public const String QualifiedNumber = "QualifiedNumber";

            /// <summary>不合格数量</summary>
            public const String UnqualifiedNumber = "UnqualifiedNumber";

            /// <summary>短路测试仪1电阻值</summary>
            public const String GuncaoParameters20 = "GuncaoParameters20";

            /// <summary>短路测试仪1电压</summary>
            public const String GuncaoParameters21 = "GuncaoParameters21";

            /// <summary>短路测试仪1电流</summary>
            public const String GuncaoParameters22 = "GuncaoParameters22";

            /// <summary>短路测试仪1测试时间</summary>
            public const String GuncaoParameters23 = "GuncaoParameters23";

            /// <summary>短路测试仪1电流</summary>
            public const String GuncaoParameters24 = "GuncaoParameters24";

            /// <summary>短路测试仪1电压</summary>
            public const String GuncaoParameters25 = "GuncaoParameters25";

            /// <summary>短路测试仪2电阻值</summary>
            public const String GuncaoParameters26 = "GuncaoParameters26";

            /// <summary>短路测试仪2电压</summary>
            public const String GuncaoParameters27 = "GuncaoParameters27";

            /// <summary>短路测试仪2电流</summary>
            public const String GuncaoParameters28 = "GuncaoParameters28";

            /// <summary>短路测试仪2测试时间</summary>
            public const String GuncaoParameters29 = "GuncaoParameters29";

            /// <summary>短路测试仪2电流</summary>
            public const String GuncaoParameters30 = "GuncaoParameters30";

            /// <summary>短路测试仪2电压</summary>
            public const String GuncaoParameters31 = "GuncaoParameters31";

            /// <summary>测短路工位1NG计数</summary>
            public const String Ng1 = "Ng1";

            /// <summary>测短路工位2NG计数</summary>
            public const String Ng2 = "Ng2";

            /// <summary>测短路工位3NG计数</summary>
            public const String Ng3 = "Ng3";

            /// <summary>测短路工位4NG计数</summary>
            public const String Ng4 = "Ng4";

            /// <summary>测短路工位5NG计数</summary>
            public const String Ng5 = "Ng5";

            /// <summary>测短路工位6NG计数</summary>
            public const String Ng6 = "Ng6";

            /// <summary>测短路工位7NG计数</summary>
            public const String Ng7 = "Ng7";

            /// <summary>测短路工位8NG计数</summary>
            public const String Ng8 = "Ng8";

            /// <summary>测短路工位9NG计数</summary>
            public const String Ng9 = "Ng9";

            /// <summary>测短路工位10NG计数</summary>
            public const String Ng10 = "Ng10";
        }
        #endregion
    }
}